.PHONY: compile
compile: ## Compile the proto file.
	#protoc -I pkg/proto/bank/account/ pkg/proto/bank/account/deposit.proto --go_out=plugins=grpc:pkg/proto/bank/account/
	protoc -I pkg/proto/bank/account/ pkg/proto/bank/account/deposit.proto --go-grpc_out=pkg/proto/bank/account/ --go-grpc_opt=paths=source_relative --go_out=pkg/proto/bank/account/ --go_opt=paths=source_relative

.PHONY: run
run: ## Build and run client.
	go build -race -ldflags "-s -w" -o bin/client cmd/client/main.go
	bin/client

test:
	go test -v -run TestDepositClient_Deposit ./internal/bank/account/